@csrf
<div class="layui-row">
    <div class="layui-form-item">
        <label for="name" class="layui-form-label">类别名称</label>
        <div class="layui-input-block">
            <input name="name" type="text" class="layui-input" value="{{$station_type->name??''}}" placeholder="请填写类别名称">
        </div>
    </div>
    <div class="layui-form-item">
        <label for="status" class="layui-form-label">状态</label>
        <div class="layui-input-block">
            <input type="hidden" name="status" value="0">
            <input type="checkbox" name="status" lay-skin="switch" value="1" {{$station_type->status=='1'?'checked':''}} lay-text="有效|无效">
        </div>
    </div>
    <div class="layui-form-item">
        <label for="sort_code" class="layui-form-label">排序</label>
        <div class="layui-input-block">
            <input type="text" name="sort_code" class="layui-input" value="{{$station_type->sort_code??''}}">
        </div>
    </div>
    <div class="layui-form-item">
        <label for="description" class="layui-form-label">备注</label>
        <div class="layui-input-block">
            <textarea name="description" class="layui-textarea">{{$station_type->description??''}}</textarea>
        </div>
    </div>
</div>
